package com.easyOrder.core.duplicate;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 避免重复提交Annotation
 *
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DuplicateSubmissionAnnotation {
	
	boolean validateToken() default false;

	BusinessType businessType() default BusinessType.NULL;
}
